/*页面主体样式*/
body {
    color: #333;
    font: 14px Arial, "\5FAE\8F6F\96C5\9ED1";
    *font-family: "Microsoft YaHei";
    position: relative;
    overflow: hidden;
}

.container {
    background: #fff;
}

/*头部*/
.header {
    /*box-shadow: 0px 2px 5px 1px #e3e4e5;*/
    border-bottom:1px solid #ccc;
    position: relative;
}

/*切换*/
.ht-tab {
    margin-top: 2px;
}

.ht-tab span, .ht-folder-btn {
    display: inline-block;
    border-bottom: 2px solid transparent;
    padding: 3px 23px;
    font-size: 12px;
    cursor: pointer;
}

.ht-tab span.cur, .ht-folder-btn.cur {
    background-color: #d0e7f9;
    border-bottom-color: #69b7f3;
}

/*文件*/
.ht-folder-btn {
    margin-top: 2px;
    margin-right: 5px;
}

.ht-folder-btn i {
    font-size: 15px;
}

.folder-ul, .folder-ul-item {
    border: 1px solid #d5d5d5;
    width: 120px;
    position: absolute;
    top: 27px;
    left: 0;
    background-color: #fff;
    z-index: 9999;
}

.folder-ul-item {
    display: none;
}

.folder-ul li {
    height: 28px;
    line-height: 28px;
    text-align: left;
    padding: 0 10px;
    cursor: pointer;
}

.folder-ul .icon-back01 {
    margin-right: 0;
    vertical-align: middle;
}

.folder-ul li a, .folder-ul-item span {
    color: #666;
    font-size: 10px;
}

.folder-ul li i {
    margin-right: 10px;
    vertical-align: middle;
}

.folder-ul li:hover, .folder-ul-item span:hover {
    background-color: #deeafa
}

.folde-ul-li:hover .folder-ul-item {
    display: block;
}

.listImg {
    background: url(../../images/listImgT.png) no-repeat;
    display: inline-block;
    width: 14px;
    height: 14px;
}

.word-type {
    background-position: -44px -10px
}

.pdf-type {
    background-position: -78px -10px
}

.epub-type {
    background-position: -10px -10px
}

.folder-ul-item {
    left: 120px;
    top: 0;
}

.folder-ul-item span {
    display: block;
    padding: 0 10px;
}

.pull-right {
    margin-right: 20px;
}

.pull-right a {
    color: #2497ef;
    width: 30px;
    display: inline-block;
}

.pull-right i {
    font-size: 26px;
}

.pull-right span {
    display: inline-block;
    font-size: 12px;
    margin-top: 5px;
}

.edit-header {
    /*width: calc(100% - 110px);*/
    min-width: 1068px;
}

.edit-header .pull-right a {
    color: #666;
    vertical-align: middle;
}

/*主体*/
.editContent {
    position: absolute;
    top: 100px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: 0 auto;
    background-color: #f5f5f5;
}

.edit-main {
    position: absolute;
    top: 0px;
    bottom: 30px;
    left: 0;
    right: 0;
    margin: 0 auto;
    /*overflow: hidden;*/
}

.edit-main-check {
    bottom: 0;
}

.edit-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    line-height: 30px;
    padding: 0 30px;
    font-size: 14px;
    color: #666;
    background-color: #e5e5e5;
    z-index:10;
}

.edit-footer span:nth-child(1) {
    max-width: calc(100% - 200px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/*目录*/
.editRight {
    position: relative;
    float: right;
    background-color: #fff;
    height: 100%;
    transition-duration: .3s;
    z-index: 9;
    border-left: 1px solid #2a8cd7;
    width: 600px;
    margin-right: -601px;
}

.el-h2 {
    height: 50px;
    line-height: 50px;
    padding: 0 25px;
    font-size: 14px;
    border-bottom: 1px solid #d5d5d5;
    background-color: #f3f6fc
}

.el-h2 i {
    font-size: 24px;
    margin-right: 5px;
    color: #999;
    vertical-align: middle;
}

.el-con {
    position: absolute;
    top: 51px;
    width: 100%;
    bottom: 0;
    overflow-y: auto;
    padding: 0 13px;
    box-sizing: border-box;
}

.catalog-panel {
    clear: both;
}

.btn-group {
    vertical-align: top;
    line-height: 32px;
    color: #666;
    display: none;
}

.btn-group i {
    cursor: pointer;
}

.txt, .txt-other {
    line-height: 28px;
    height: 28px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
    font-size: 12px;
    cursor: pointer;
    color: #666;
}

.txt.color-2f, .txt-other.color-2f {
    color: #2497ef;
}

.h2-txt {
    font-size: 14px;
}

.wid97 {
    max-width: calc(100% - 15px)
}

.add-catalog {
    width: calc(100% - 50px);
    margin-top: 9px;
    line-height: 30px;
    height: 30px;
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.add-catalog span {
    font-size: 16px;
    display: inline-block;
    max-width: calc(100% - 50px);
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
}

.add-catalog i {
    font-size: 18px;
    cursor: pointer;
    display: none;
    margin-top: -5px;
}

.add-catalog .cata-i {
    display: inline-block;
}

.catalog-panel li p.ml40 {
    margin-left: 10px;
}

/*编辑区域*/
.editCenter {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    top: 10px;
    z-index: 1;
    transition-duration: .3s
}

.edit-bot {
    height: 50px;
    line-height: 50px;
    text-align: center;
    color: #666;
    background-color: #d0e7f9;
    width: 735px;
    position: fixed;;
    top: 50%;
    bottom: 50%;
    left: 0;
    right: 0;
    margin: 0 auto;
    box-shadow: 0 -2px 3px #e3e4e5, 2px 0 3px #e3e4e5, -2px 0 2px #e3e4e5, 0 -2px 2px #e3e4e5;
    transition-duration: .3s;
    display: none;
}

.edit-panel {
    margin: 0 auto;
    width: 793px;
    background-color: #fff;
    min-height: 100%;
    box-sizing: border-box;
    box-shadow: 0 -2px 3px #e3e4e5, 2px 0 3px #e3e4e5, -2px 0 2px #e3e4e5;
}

.edit-con {
    padding: 60px 10% 50px;
    overflow-x: hidden;
    overflow-y: auto;
    position: absolute;
    left: 0;
    right: 0px;
    bottom: 0;
    top: 20px;
}

.cornerL, .cornerR {
    background: url(../../images/cornerImg.png) no-repeat;
    width: 24px;
    height: 24px;
    position: absolute;
}

.cornerL {
    background-position: -54px -10px;
    top: 10px;
    left: 24px;
}

.cornerR {
    background-position: -10px -10px;
    top: 10px;
    right: 47px;
}

.editCenter h1, .editCenter h2, .editCenter h3, .editCenter h4, .editCenter h5, .editCenter h6 {
    margin-top: 1em;
    margin-bottom: 1em;
    line-height: 1.4;
    word-break: break-all;
}

.editCenter h2, .editCenter h3 {
    width: calc(100% - 20px);
    text-align: left;
    word-wrap: break-word;
    font-weight: bold;
}

.editCenter h1 {
    margin-top: 0;
    text-align: center;
    font-size: 24px;
    font-weight: normal;
    text-shadow: 0 0 0 #333;
}

.editCenter h2 {
    font-size: 20px;
}

.editCenter h3 {
    font-size: 18px;
}

.edit-txt {
    padding: 0;
    box-sizing: border-box;
    word-break: break-all;
    word-wrap: break-word;
    font-family: "Microsoft YaHei";
    z-index: 10;
}

.edit-txt p {
    line-height: 2;
    letter-spacing: 1px;
    font-family: "Microsoft YaHei" !important;
    font-size: 14px !important;
    color: #333 !important
}

.edit-txt table {
    margin: 10px 0;
    border-collapse: collapse;
    display: table;
    table-layout: auto;
}

.edit-txt th {
    text-align: left;
    font-weight: initial;
}

.edit-txt td, .edit-txt th {
    padding: 5px 10px;
    border: 1px solid #000;
    color: #666;
    text-shadow: 0 0 0 #666;
}

.edit-txt .list-paddingleft-2 {
    padding-left: 30px;
}

.edit-txt .ue-table-interlace-color-single {
    background-color: #fcfcfc;
}

.edit-txt .ue-table-interlace-color-double {
    background-color: #f7faff;
}

/*.edit-txt p img{margin-left:-2em;}*/
/*编辑器相关*/
.edui-editor-bottomContainer {
    display: none;
}

/*@media screen and (max-width: 1795px) {*/
    /*.editRight {*/
        /*margin-right: calc((793px + 100px - 100%) / 2); !*负的宽度*!*/
    /*}*/
/*}*/

/*@media screen and (max-width: 1600px) {*/
    /*.edit-panel {*/
        /*width: 720px;*/
    /*}*/
    /*!*.downPop {*!*/
        /*!*width: 720px;*!*/
        /*!*margin-left: -360px;*!*/
    /*!*}*!*/
/*}*/

/*@media screen and (max-width: 1501px) {*/
    /*.editRight {*/
        /*margin-right: -310px;*/
    /*}*/
/*}*/

/*自适应方案1，左侧永不变*/
/*@media screen and (max-width: 1500px) {*/
    /*.editRight {*/
        /*width: 560px;*/
        /*margin-right: -560px;*/
    /*}*/
    /*.editRight .pageBox {*/
        /*margin-top: 10px;*/
        /*margin-left: 10px;*/
    /*}*/
/*}*/
/*自适应方案2，左侧也变*/
@media screen and (max-width: 1500px) {
    .edit-panel {
        width: 690px;
    }
    .editRight {
        width: 560px;
        margin-right: -560px;
    }
    .editRight .pageBox {
        margin-top: 10px;
        margin-left: 10px;
    }
}

/*@media screen and (max-width: 1351px) {*/
    /*.edit-panel {*/
        /*!*适配笔记本宽度，当右边栏展示时，缩小编辑器宽度*!*/
        /*width: 580px;*/
    /*}*/
    /*!*.downPop {*!*/
        /*!*width: 580px;*!*/
        /*!*margin-left: -290px;*!*/
    /*!*}*!*/
    /*.laptop {*/
        /*!*适配笔记本宽度，当右边栏缩进时，编辑器的宽度保持690px*!*/
        /*width: 690px;*/
    /*}*/
/*}*/

/*笔记本屏幕适配，标题区域*/
@media screen and (max-width: 1355px) {
    .listBox .block03 {
        width: 300px;
        overflow: hidden;
    }
    .block03 .title-content {
        width: 299px;
    }
}

/*素材库和目录显示时需要添加的样式*/

.editRightShow {
    margin-right: 0 !important;
}

/*参考文献*/
.ico-repeat {
    right: 47px;
}

.refer h1 {
    font-size: 16px;
    text-align: center;
    font-weight: bold;
}

.refer p {
    font-size: 14px;
    line-height: 25px;
    font-family: "宋体";
}

.docEditBtn {
    margin: 3px 0px 0px 20px;
}

.docImport, .export {
    display: inline-block;
    height: 20px;
    line-height: 20px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 2px;
    margin-right: 10px;
    background: url(../../images/docEditbtn.png) no-repeat 5px 1px;
    padding: 0px 10px 0px 25px;
    color: #666;
    font-size: 12px;
    cursor: pointer;
}

.export {
    background-position: 5px -39px;
}

.docImport:hover {
    background-color: #e2f2ff;
    background-position: 5px -88px;
    border: 1px solid #d0e7f9;
    position: relative;
}

.saving {
    display: inline-block;
    height: 20px;
    line-height: 20px;
    width: 20px;
    background: url(../../images/saving.gif) no-repeat center center;
}

.lastSave {
    color: #666;
    font-size: 12px;
    height: 20px;
    display: inline-block;
    line-height: 20px;
    animation: mytext 1s normal;
    white-space: nowrap;
    overflow: hidden;
}

@keyframes mytext {
    0% {
        width: 1px;
    }
    100% {
        width: 170px;
    }
}

.exportBox {
    display: inline-block;
    width: 88px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 2px;
    position: relative;
    cursor: pointer;
}

.exportBox:hover {
    background-color: #e2f2ff;
    border: 1px solid #d0e7f9;
}

ins.exTran {
    background: url(../../images/docEditbtn.png) no-repeat 0px -170px;
    display: inline-block;
    width: 12px;
    height: 12px;
    position: absolute;
    right: 8px;
    top: 5px;
    transition: all 0.4s ease;
}

.exportBox:hover .export {
    background-position: 5px -129px;
}

ul.exUL {
    border: 1px solid #d0e7f9;
    background-color: #fff;
    width: 88px;
    position: absolute;
    z-index: 9999;
    top: 22px;
    left: -1px;
    height: 90px;
    line-height: 30px;
    list-style: none;
    display: none;
}

ul.exUL li {
    font-size: 12px;
    color: #666;
    list-style: none;
    padding-left: 5px;
}

ul.exUL li:hover {
    background-color: #e2f2ff;
}

ul.exUL li img {
    margin-right: 5px;
    vertical-align: middle;
}

.exportBox:hover ul.exUL {
    display: block;
}

.exportBox:hover ins.exTran {
    transform: rotate(180deg)
}

.dragging {
    transition-duration: 0s;
}

.drag-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1001;
    cursor: w-resize;
    display: none;
}
